package com.tledu.instrument.domain;

import com.tledu.common.annotation.Excel;
import com.tledu.common.core.domain.BaseEntity;

/**
 * 仪器操作日志对象 instrument_log
 *
 * @author ruoyi
 * @date 2024-08-29
 */
public class InstrumentLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @Excel(name = "编号")
    private Long id;

    /**
     * 仪器id
     */
    @Excel(name = "仪器id")
    private Long instrumentId;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Long createUser;

    /**
     * 操作类型
     */
    @Excel(name = "操作类型")
    private Long operationType;

    /**
     * 删除标志(0代表存在 2代表删除)
     */
    private Long delFlag;

    // 引入仪器对象
    private InstrumentInfo instrumentInfo;

    public InstrumentInfo getInstrumentInfo() {
        return instrumentInfo;
    }

    public void setInstrumentInfo(InstrumentInfo instrumentInfo) {
        this.instrumentInfo = instrumentInfo;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setInstrumentId(Long instrumentId) {
        this.instrumentId = instrumentId;
    }

    public Long getInstrumentId() {
        return instrumentId;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setOperationType(Long operationType) {
        this.operationType = operationType;
    }

    public Long getOperationType() {
        return operationType;
    }

    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return "InstrumentLog{" +
                "id=" + id +
                ", instrumentId=" + instrumentId +
                ", createUser=" + createUser +
                ", operationType=" + operationType +
                ", delFlag=" + delFlag +
                ", instrumentInfo=" + instrumentInfo +
                '}';
    }
}
